////#include<iostream>
////#include<vector>
////#include<list>
////#include<string>
////#include<math.h>
////using namespace std;
////
////int main() {
////	list<int> s;
////	list<int> t;
////	s.push_back(7);
////	s.push_back(3);
////	s.push_back(9);
////
////	t.push_back(3);
////	t.push_back(6);
////	t.push_back(6);
////	t.push_back(2);
////
////	if (s.size() < t.size())
////	{
////		list<int> tmp = s;
////		s = t;
////		t = tmp;
////	}
////
////	std::list<int>::iterator its = s.begin();
////	std::list<int>::iterator itt = t.begin();
////	/*while (its != s.end())
////	{
////		cout<<*its;
////		its++;
////	}
////	while (itt != t.end())
////	{
////		cout << *itt;
////		itt++;
////	}*/
////	int sign = 0;
////	int a = 0;
////	while (its!=s.end() && itt != t.end())
////	{
////
////		a = (s[sl] - '0') + (t[tl] - '0');
////		if (sign == 1)
////		{
////			a++;
////			sign = 0;
////		}
////		if (a >= 10)
////		{
////			sign = 1;
////			a -= 10;
////
////		}
////		tmp.insert(tmp.begin(), a + '0');
////
////
////
////		//cout <<s[ sl] << " " << t[tl]<<endl;
////	}
////
////
////
////	//cout << s.size();
////	//cout << t.size();
////
////
////
////	//if (s.size() < t.size())
////	//{
////	//	list<int>tmp=
////
////	//}
////	//string tmp = "";
////	//int sl = s.size();
////	//int tl = t.size();
////	//int sign = 0;
////	//int a = 0;
////	//while (sl-- && tl--)
////	//{
////
////	//	a = (s[sl] - '0') + (t[tl] - '0');
////	//	if (sign == 1)
////	//	{
////	//		a++;
////	//		sign = 0;
////	//	}
////	//	if (a >= 10)
////	//	{
////	//		sign = 1;
////	//		a -= 10;
////
////	//	}
////	//	tmp.insert(tmp.begin(), a + '0');
////
////
////
////	//	//cout <<s[ sl] << " " << t[tl]<<endl;
////	//}
////	//sl++;
////	//while (sl--)
////	//{
////	//	a = (s[sl] - '0');
////	//	if (sign == 1)
////	//	{
////	//		a++;
////	//		sign = 0;
////	//	}
////	//	if (a >= 10)
////	//	{
////	//		sign = 1;
////	//		a -= 10;
////
////	//	}
////	//	tmp.insert(tmp.begin(), a + '0');
////
////	//}
////	//if (sign == 1)
////	//{
////	//	tmp.insert(tmp.begin(), sign + '0');
////	//}
////
////	//cout << tmp;
////
////
////
////
////
////
////
////
////
////
////
////	//if (s.size() < t.size())
////	//{
////	//	string tmp = s;
////	//	s = t;
////	//	t = tmp;
////
////	//}
////	//int ls = s.size();
////	//int ts = t.size();
////	////cout << ls << ts;
////	//
////	//int tmp = ls;
////	//int ss = 0;
////	//int tt = 0;
////	//int ii = 0;
////	//int sum = 0;
////	////cout << ;
////	//for (int i = 0; i <= tmp; i++)
////	//{
////	//	if (ls > ts && ss < s.size() && tt < t.size())
////	//	{
////	//		sum += (s[ss] - '0') * pow(10, tmp - i-1);
////	//		ss++;
////	//		ls--;
////	//	}
////	//	else if (ls == ts && ss < s.size() && tt< t.size())
////	//	{
////	//		sum += (s[ss] - '0') * pow(10, ts -ii-1);
////	//		sum += (t[tt] - '0') * pow(10,ts-ii-1 );
////	//		ii++;
////	//		ss++; tt++;
////	//	}
////
////	//	
////	//}
////	////to_string(sum);
////	//cout << to_string(sum);
////}